export default [{
  //开发用的，正式重定向到借款页面
  path: '/',
  meta: {
    title: '测试'
  },
  component: () =>import('page/Index.vue')
}, {
  //借款-借款页面
  path: '/loan/action',
  name: 'loan_action',
  component: () => import('page/Loan/Action/Action.vue')
}, {
  //借款-详情
  path: '/loan/detail',
  name: 'loan_detail',
  meta: {
    title: '借款详情'
  },
  component: () =>import('page/Loan/Detail/Detail.vue')
}, {
  //借款-成功之后，借款信息页面
  path: '/loan/info',
  name: 'loan_info',
  component: () =>import('page/Loan/Info/Info.vue')
}, {
  //借款-还款详情
  path: '/loan/repay',
  name: 'loan_repay',
  meta: {
    title: '还款详情'
  },
  component: () =>import('page/Loan/Repay/Repay.vue')
}, {
  //借款-认证中心
  path: '/loan/cacenter',
  name: 'loan_cacenter',
  meta: {
    title: '认证中心'
  },
  component: () =>import('page/Loan/CACenter/CACenter.vue')
}, {
  //借款-个人信息
  path: '/loan/personal',
  name: 'loan_personal',
  meta: {
    title: '个人信息'
  },
  component: () =>import('page/Loan/Personal/Personal.vue')
}, {
  //借款-身份认证
  path: '/loan/cardid',
  name: 'laon_cardid',
  meta: {
    title: '身份证信息'
  },
  component: () =>import('page/Loan/Cardid/Cardid.vue')
}, {
  //借款-银行卡认证
  path: '/loan/bankcard',
  name: 'loan_bankcard',
  meta: {
    title: '银行卡'
  },
  component: () =>import('page/Loan/Bankcard/Bankcard.vue')
}, {
  //借款-运营商认证
  path: '/loan/operator',
  name: 'loan_operator',
  meta: {
    title: '运营商认证'
  },
  component: () =>import('page/Loan/Operator/Operator.vue')
}, {
  //用户-借款记录
  path: '/user/loanrecord',
  name: 'user_loanrecord',
  meta: {
    title: '借款记录'
  },
  component: () =>import('page/User/LoanRecord/LoanRecord.vue')
}, {
  //用户-登录
  path: '/user/login',
  name: 'user_login',
  meta: {
    title: '登录'
  },
  component: () =>import('page/User/Login/Login.vue')
}, {
  //用户-注册
  path: '/user/register',
  name: 'user_register',
  meta: {
    title: '注册'
  },
  component: () =>import('page/User/Register/Register.vue')
}, {
  //用户-资料
  path: '/user/datum',
  name: 'user_datum',
  meta: {
    title: '个人信息'
  },
  component: () =>import('page/User/Datum/Datum.vue')
}, {
  //用户-忘记密码
  path: '/user/forgetpwd',
  name: 'user_forgetpwd',
  meta: {
    title: '修改密码'
  },
  component: () =>import('page/User/ForgetPwd/ForgetPwd.vue')
}, {
  //用户-优惠券
  path: '/user/privilege',
  name: 'user_privilege',
  meta: {
    title: '优惠券'
  },
  component: () =>import('page/User/Privilege/Privilege.vue')
}, {
  //系统-消息
  path: '/system/message',
  name: 'system_message',
  meta: {
    title: '消息中心'
  },
  component: () =>import('page/System/Message/Message.vue')
}, {
  // 活动列表
  path: '/system/activity',
  name: 'system_activity',
  meta: {
    title: '平台活动'
  },
  component: () =>import('page/System/Activity/Activity.vue')
},  {
  //活动详情
  path: '/system/activitydetail',
  name: 'system_activitydetail',
  meta: {
    title: '活动详情'
  },
  component: () => import('page/System/ActivityDetail/ActivityDetail.vue')
}, {
  //活动详情新
  path: '/system/activitydetail_new',
  name: 'system_activitydetail_new',
  meta: {
    title: '活动详情'
  },
  component: () => import('page/System/ActivityDetailN/ActivityDetailN.vue')
},{
  //网络异常
  path: '/system/neterror',
  name: 'system_neterror',
  meta: {
    title: '网络异常'
  },
  component: () =>import('page/System/NetError/NetError.vue')
}, {
  //帮助中心
  path: '/system/help',
  name: 'system_help',
  meta: {
    title: '帮助中心'
  },
  component: () => import('page/System/HelpCenter/HelpCenter.vue')
}, {
  //pdf
  path: '/system/pdf',
  name: 'system_pdf',
  component: () => import('page/System/Pdf/Pdf.vue')
}, {
  // 提示
  path: '/system/hint',
  name: 'system_hint',
  component: () =>import('page/System/Hint/Hint.vue')
}, {
  // 邀请
  path: '/system/invite',
  name: 'system_invite',
  meta: {
    title: '邀请有礼'
  },
  component: () =>import('page/System/Invite/Invite.vue')
}, {
  // 分享
  path: '/system/share',
  name: 'system_share',
  component: () =>import('page/System/Share/Share.vue')
}, {
  // 图片页面
  path: '/system/image/:id',
  name: 'system_image',
  component: () =>import('page/System/Image/Image.vue')
}, {
  // 引导页面
  path: '/system/ways',
  name: 'system_ways',
  component: () => import('page/System/Ways/Ways.vue')
}, {
  //协议-注册
  path: '/protocol/register',
  name: 'protocol_register',
  meta: {
    title: '用户注册协议'
  },
  component: () =>import('page/Protocol/Register/Register.vue')
}, {
  //未找到
  path: '*',
  name: 'not_found',
  redirect: '/system/neterror'
}]